$def with (error=None)
<style type="text/css">
div#container input {
  display: block;
  border: 1px solid #B2B2B2;
  color: black;
  margin: 8px 1px 1px 1px;
  padding: 5px 4px;
  width: 190px;
  font-size: 14px;
  font-family: Georgia, "Times New Roman", serif;
}
</style>
<html><head></head><body>
$if error:
  <div class="error">$error</div>
<div id="container">
<h1>Upload Data File</h1>
<form method="POST" enctype="multipart/form-data" action="">
<input type="file" name="myfile"/>
<input type="submit" value="Upload"/>
</form>
</div>
</body></html>
